package com.xinhe.web.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "云茶籽释放日期资产表详情")
@Table(name = "tb_yun_cha_seed_asset_count")
public class YunChaSeedAssetCount {
    @Id
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("日期配置id")
    private Long configurationDateId;
    @ApiModelProperty("会员id")
    private Long userId;
    @ApiModelProperty("余额")
    private BigDecimal balance = BigDecimal.ZERO;
}
